package at.fhj.swd.pse.domain;

import java.util.List;

import at.fhj.swd.pse.entities.Community;
import at.fhj.swd.pse.entities.User;

public interface CommunityService {
	List<Community> getCommunities();

	Community getCommunity(int id);

	void addUserToCommunity(User user, Community community);

	void createNewCommunity(Community community);

	void releaseCommunity(Community community);
}
